;--------------------------------------
;
; offcur.asm
;
; turns off the cursor
;

;--------------------------------------
;
; include defs, prototypes and macros
;

include tab6.inc

;--------------------------------------
;
; begin code segment
;


    .Code

;--------------------------------------
;
; offCur(void)
;  
;

offCur PROC Pascal PUBLIC
    mov    ah,GET_CURSOR_CONFIG   ; get cursor congiguration
    int    10h                    ; via BIOS
    or     ch,20h                 ; turn on bit 5
    mov    ah,SET_CURSOR_SHAPE    ; set cursor shape
    int    10h                    ; via BIOS
    ret                           ; return to caller
offCur ENDP

;
; end of offCur procedure
;

    END

;
;--------------------------------------
